@import "stylus-px2rem";

$blockLength = 4px
$blockBackGroudColor = rgb(87,116,234)
.block
 width $blockLength
 height $blockLength
 background-color $blockBackGroudColor

.line
  height ($blockLength / 3)
  background-color $blockBackGroudColor

// 背景颜色渐变
.title-backgroud
    background: linear-gradient(to right, rgb(49,66,152), rgba(49,66,152,.3));

.main-backgroud
    background: linear-gradient(to top , rgb(20,28,65), rgba(20,28,65,.3));
